package yedean.bean;

import com.yedean.factory.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class UserServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object target, Object[] args) throws Throwable {
        System.out.println("拦截方法：" + method.getName());
    }
}
